//
//  FirstCategoryCell.swift
//  iModern
//
//  Created by 陈石 on 15/6/14.
//  Copyright (c) 2015年 com.starlooking. All rights reserved.
//

import UIKit

class FirstCategoryCell: UICollectionViewCell
{

    @IBOutlet weak var cellLabel: UILabel!
    @IBOutlet weak var cellImage: UIImageView!

    override func awakeFromNib()
    {
        super.awakeFromNib()

    }

    func setData(description: NSString, title: NSString, imageName: NSString)
    {
        cellLabel.text = description as? String
//        cellImage.image = UIImage(named: imageName as String)

    }
    
    func setData(description: NSString, title: NSString)
    {
        cellLabel.text = description as? String
        cellLabel.font = UIFont.systemFontOfSize(15)
    }
//    func setShadow(display: Bool)
//    {
//        if display
//        {
//            cellImage.layer.shadowOffset = CGSizeMake(0.0, 0.0)
//            cellImage.layer.shadowOpacity = 4
//            cellImage.layer.shadowRadius = 4.0
//            cellImage.layer.shadowColor = UIColor.darkGrayColor().CGColor
//        }
//        else
//        {
//            cellImage.layer.shadowOpacity = 0
//            cellImage.layer.shadowRadius = 0.0
//            cellImage.layer.shadowColor = UIColor.clearColor().CGColor
//        }
//    }
}
